package com.fitzone.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fitzone.model.entity.Course;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseVO implements Serializable {
    private static  final long serialVersionUID = 1L;

    private Long id;

    private String courseName;

    private BigDecimal price;

    private BigDecimal vipPrice;

    private String courseDesc;

    private String courseImg;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer max;

    private String storeName;

    private String coachName;

    private Long storeId;

    private Long coachId;

    private Integer status;

    @TableField(exist = false)
    private Integer selected;
}
